package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * tb_garbage_mail对象 tb_garbage_mail
 * 
 * @author SJQ
 * @date 2024-11-01
 */
public class TbGarbageMail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String time;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String institutionCode;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String institutionShort;

    /** 垃圾邮件总数 */
    @Excel(name = "垃圾邮件总数")
    private String interceptTotal;

    /** 处理状态（0-未推送，1-已推送，2-推送失败） */
    @Excel(name = "处理状态", readConverterExp = "0=-未推送，1-已推送，2-推送失败")
    private String status;

    /** 指标有效标志（0-正常，1-删除） */
    @Excel(name = "指标有效标志", readConverterExp = "0=-正常，1-删除")
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setInstitutionShort(String institutionShort) 
    {
        this.institutionShort = institutionShort;
    }

    public String getInstitutionShort() 
    {
        return institutionShort;
    }
    public void setInterceptTotal(String interceptTotal) 
    {
        this.interceptTotal = interceptTotal;
    }

    public String getInterceptTotal() 
    {
        return interceptTotal;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("institutionCode", getInstitutionCode())
            .append("institutionShort", getInstitutionShort())
            .append("interceptTotal", getInterceptTotal())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
